<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
        <title>$titulo</title>
    </head>
    <body>
        <h1>Cuenta Tel&eacute;fono $movil</h1>
        <h2>Periodo $ano-$mes</h2>
        <br>
        <h3>Resumen</h3>
        <table style="text-align: left; width: 50%;" border="1" cellpadding="2" cellspacing="2">
            <tbody>
                <tr>
                    <th style="vertical-align: top; text-align: center;">Item<br></th>
                    <th style="vertical-align: top; text-align: center;">Valor<br></th>
                    <th style="vertical-align: top; text-align: center;">Sobrecargo<br></th>
                </tr>
                #for $item in $resumen
                    <tr>
                        <td style="vertical-align: top;">$item.item</td>
                        <td style="vertical-align: top; text-align: right;">$item.valor</td>
                        <td style="vertical-align: top; text-align: right;">$item.sobrecargo</td>
                    </tr>
                #end for
                <tr>
                    <td style="vertical-align: top; text-align: right;"><span style="font-weight: bold;">NETO</span><br></td>
                    <td style="text-align: right;" colspan="2" vertical-align:="" top;="" text-align:="" right;=""><span style="font-weight: bold;">$neto</span><br></td>
                </tr>
                <tr>
                    <td style="vertical-align: top; text-align: right;"><span style="font-weight: bold;">IVA</span><br></td>
                    <td style="text-align: right;" colspan="2" vertical-align:="" top;="" text-align:="" right;=""><span style="font-weight: bold;">$iva</span><br></td>
                </tr>
                <tr>
                    <td style="vertical-align: top; text-align: right;"><span style="font-weight: bold;">TOTAL</span><br></td>
                    <td style="text-align: right;" colspan="2" vertical-align:="" top;="" text-align:="" right;=""><span style="font-weight: bold;">$total</span><br></td>
                </tr>
            </tbody>
        </table>
        <br>
        <h3>Detalle de llamadas</h3>
        <table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
            <tbody>
                <tr>
                    <th style="vertical-align: top; text-align: center;">item<br></th>
                    <th style="vertical-align: top; text-align: center;">concepto</th>
                    <th style="vertical-align: top; text-align: center;">discado</th>
                    <th style="vertical-align: top; text-align: center;">destino</th>
                    <th style="vertical-align: top; text-align: center;">fecha</th>
                    <th style="vertical-align: top; text-align: center;">duracion</th>
                    <th style="vertical-align: top; text-align: center;">unidad</th>
                    <th style="vertical-align: top; text-align: center;">valor</th>
                    <th style="vertical-align: top; text-align: center;">sobrecargo</th>
                </tr>
                #for $linea in $detalle
                    <tr>
                        <td style="vertical-align: top; text-align: left;">$linea.item</td>
                        <td style="vertical-align: top; text-align: left;">$linea.concepto</td>
                        <td style="vertical-align: top; text-align: left;">$linea.discado</td>
                        <td style="vertical-align: top; text-align: left;">$linea.destino</td>
                        <td style="vertical-align: top; text-align: left;">$linea.fecha</td>
                        <td style="vertical-align: top; text-align: right;">$linea.duracion</td>
                        <td style="vertical-align: top; text-align: left;">$linea.unidad</td>
                        <td style="vertical-align: top; text-align: right;">$linea.valor</td>
                        <td style="vertical-align: top; text-align: right;">$linea.sobrecargo</td>
                    </tr>
                #end for
            </tbody>
        </table>
    </body>
</html>
